﻿<%@ Page Title="" Language="C#" MasterPageFile="~/AbetEvaluation.Master" AutoEventWireup="true" CodeBehind="TakenList.aspx.cs" Inherits="AbetEvaluation.TakenList" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
	<asp:GridView ID="gvTaken" runat="server" AutoGenerateColumns="False" 
		CellPadding="4" DataKeyNames="ID" DataSourceID="gvTakenDataSource" 
		ForeColor="#333333" GridLines="None" Width="700px">
		<AlternatingRowStyle BackColor="White" ForeColor="#284775" />
		<Columns>
			<asp:BoundField DataField="Title" HeaderText="Outcome">
			<HeaderStyle HorizontalAlign="Left" />
			</asp:BoundField>
			<asp:BoundField DataField="UserName" HeaderText="Taken By">
			<HeaderStyle Width="100px" />
			<ItemStyle HorizontalAlign="Center" Width="100px" />
			</asp:BoundField>
			<asp:BoundField DataField="Grade" DataFormatString="{0:F0}%" HeaderText="Grade">
			<HeaderStyle HorizontalAlign="Center" Width="40px" />
			<ItemStyle HorizontalAlign="Center" Width="40px" />
			</asp:BoundField>
			<asp:BoundField DataField="TakenOn" HeaderText="Taken On">
			<HeaderStyle HorizontalAlign="Center" Width="120px" />
			<ItemStyle Font-Size="Small" HorizontalAlign="Center" Width="120px" />
			</asp:BoundField>
			<asp:CommandField ShowDeleteButton="True">
			<HeaderStyle Width="50px" />
			<ItemStyle Width="50px" />
			</asp:CommandField>
		</Columns>
		<EditRowStyle BackColor="#999999" />
		<EmptyDataTemplate>
			No outcomes have been taken.
		</EmptyDataTemplate>
		<FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<HeaderStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
		<PagerStyle BackColor="#284775" ForeColor="White" HorizontalAlign="Center" />
		<RowStyle BackColor="#F7F6F3" ForeColor="#333333" />
		<SelectedRowStyle BackColor="#E2DED6" Font-Bold="True" ForeColor="#333333" />
		<SortedAscendingCellStyle BackColor="#E9E7E2" />
		<SortedAscendingHeaderStyle BackColor="#506C8C" />
		<SortedDescendingCellStyle BackColor="#FFFDF8" />
		<SortedDescendingHeaderStyle BackColor="#6F8DAE" />
	</asp:GridView>
	<asp:ObjectDataSource ID="gvTakenDataSource" runat="server" 
		DataObjectTypeName="AbetEvaluation.Business.Take" DeleteMethod="DeleteTake" 
		SelectMethod="GetAllTaken" TypeName="AbetEvaluation.Business.Taken"></asp:ObjectDataSource>
</asp:Content>
